Structure-property relationships in rare earth intermetallic compounds RFe4Ge2 and R117M52+xX112+y