Comparison of transport in H- and L-phase discharges in the DIII-D tokamak