Greece has signed a clean energy deal with the EU to fast-track the green transition on its fragile, tourist-riddled islands.