Top British police chief resigns over phone hacking