Magnetic properties of hydrides of YMn2−xFex