High energy electron diffraction and X-ray diffraction studies on magnetic materials of the type Y2Fe17Cx (0 ⩽ x ⩽ 1.6)