Measuring public perceptions of the police