A study on the magnetic and photoluminescence properties of Eu(n+) and Sm3+ doped Fe3O4 nanoparticles.