Structural studies of Langmuir–Blodgett films containing rare-earth metal cations