Smith’s century guides Australia to 288-3 on day 1, 1st test