Structural and magnetic properties of RFe10Mo2 and RFe10Mo2N