Steve Smith smacks 27th century as India trail Australia by 312 in second Test