Phone hacking trial hears of advice given by Tony Blair