how is cognitive psychology used in police work?