How wind shear affects trade-wind cumulus convection