Phase transition in the three-dimensional chiral field