Joe Root returned to form in style by playing his longest Test innings and scoring a third double hundred for England.