Two of Europe’s largest batteries costing £800m to be built in Scotland