A gas explosion at a coal mine in China's northern province of Shanxi has killed dozens of people, state media says.