A UK trade union accused Iberdrola unit ScottishPower of “rank hypocrisy” for backing major green initiatives in Scotland while shipping giant offshore