Ton-up Pietersen boosts England in 2nd test