Root century puts England in command