Green light for Swansea Bay's £1bn tidal lagoon