Ex-Massachusetts police officer charged with punching man in custody 13 times