An 85-ball century from Travis Head guided Australia to 343/7 and a 196-run lead on day two of the first Test