Steve Smith's century inspired Australia to a 310-run lead over India on day two of the fourth Test at the Melbourne Cricket Ground on Friday.