A Study of the Thermal Diffusion Equation with Boundary Conditions corresponding to Solidification or Melting of Materials Initially at the Fusion Temperature