Shoplifter beaten by police officer, caught on tape