Optimising tidal lagoons: an environmental focus