First-principles study of ferromagnetic Ni 2 CoGa(Zn) alloys in the Heusler and the inverse Heusler structure