Photoluminescence and photothermal effect of Fe3O4 nanoparticles for medical imaging and therapy