Political legitimacy and public confidence in police