Travis Head hit a fiery 163 before Steve Smith completed his half-century on Day 3 of the 5th Ashes Test in Sydney.