Intermartensitic transformations in Ni2Mn1−xCoxGa Heusler alloys