Scotland wins £800mn investment for new battery energy storage systems