The race of phase change memories to nanoscale storage and applications