Jack Thorne says the phone hacking scandal exposed a "troubling" relationship between the press and the police.