Advanced computational modelling of large-scale tidal energy systems: optimising the trade-off between environmental impacts and power generation