Magnetism, band gap and stability of half-metallic property for the quaternary Heusler alloys CoFeTiZ (Z = Si, Ge, Sn)