Fabrication of Gd/Eu-codoped SmPO4 nanorods for dual-modal magnetic resonance and bio-optical imaging.