Magnetic phase coexistence and metastability caused by the first-order magnetic phase transition in the Heusler compound Mn2PtGa