The energetics of large tidal turbine arrays