The magnetic properties of single-domain particles with cubic anisotropy. I. Hysteresis loops