Flux–Charge Memristor Model for Phase Change Memory