Effects of N and Mo atoms on the magnetic properties of YFe12−xMox and YFe12−xMoxN