Phase transition for the mixing time of the Glauber dynamics for coloring regular trees