Head of ACPO says undercover policing should be authorised by judges