Phase transition in a polymer chain in dilute solution