Magnetism and electronic structure of CoFeCrX (X = Si, Ge) Heusler alloys