Root century inspires England to series-levelling win