Band structure and magnetic properties of M3M’C antiperovskites (M=Mn, Fe; M′=Zn, Al, Ga, Sn)