The hydrodynamic performance of a tidal-stream turbine in shear flow