Police detain, beat Associated Press reporter in Vietnam