A multi-scale discontinuous Galerkin method for mathematical modeling of heat conduction processes with phase transitions in heterogeneous media