Old coal mines are being turned into something the energy grid desperately needs, and the technology already exists.