Physics of the L to H transition in the DIII-D tokamak