A model of wind shear and turbulence in the surface boundary layer