Protesting workers beaten by police at iPhone factory in China amid contract dispute