Australian inflation hits 4.0% on fuel prices, core measure cools