Hamilton bids farewell to Mercedes as Ferrari vie for title