Amorphous to crystal conversion as a mechanism governing the structure of luminescent YVO4:Eu nanoparticles.