Water in abandoned mines in Scotland is opening up immense opportunities for reliable sources of heat and energy storage.