Motion of a superconducting loop in an inhomogeneous magnetic field: a didactic experiment