Magnetic properties of YFe12−xMox and YFe12−xMoxNy (0.5⩽x⩽4.0, y≈1)