Tidal turbine performance and near-wake characteristics in a sheared turbulent inflow