Numerical analysis of the multidimensional Stefan problem with supercooling and superheating