Resonant soft X-ray reflectivity in the study of magnetic properties of low-dimensional systems