Ferrari's Sebastian Vettel outpaced Lewis Hamilton in the Mercedes to win the 2017 Australian Grand Prix.