Police head constable beaten up by 12 persons