Lewis Hamilton finished 10th at Australian Grand Prix in his first Formula One race for Ferrari.