The vibrating-sample magnetometer and Preisach diagram