Prison officers, policing and the use of discretion