Joe Root reached his century on the day’s final ball to help guide England past India’s total of 257 at Headingley