Colloidal nanoparticles for phase change memory applications