The performance of a weir-mounted tidal turbine