New analytic solutions of the one-dimensional heat equation for temperature and heat flow rate both prescribed at the same fixed boundary (with applications to the phase change problem)