Physical model of dynamic Joule heating effect for reset process in conductive-bridge random access memory