Competing magnetic states in multiferroic BaYFeO4 : A high magnetic field study