British police chief quits over phone-hacking scandal