Hundreds of coal mines are expected to close in the coming decades as countries transition to low-carbon energy sources