Ferrofluid drop impacts and Rosensweig peak formation in a non-uniform magnetic field