duties and responsibilities of police officer