Momentum and scalar transport in vegetated shear flows