On structural and magnetic properties of ErFe11WZx (Z = H, N)