Formation and structure of transport barriers during confinement transitions in toroidal plasma.