Anti-phase boundaries and magnetic domain structures in Ni2MnGa-type Heusler alloys