First observation of the coil–globule transition in a single polymer chain