Magnetism and point defect in B2-type CoFe alloys