Steve Smith’s stylish Test century, his 34th, powered Australia to a strong position against India at lunch on the second day of the fourth Test of the five-match series.