Direct observation of field-induced spin reorientation in YFeO3 by the Mossbauer effect