Eu@PMMA and Sm@PMMA nanofibers prepared by electrospinning: structure, morphology, luminescence and magnetic properties