Scaling of global properties of turbulence and skin friction in pipe and channel flows