Hydrothermal synthesis of dimeric lanthanide compounds: X-ray structure, magnetic study and heterogeneous catalytic epoxidation of olefins