EU votes to tag gas, nuclear investment 'green'