The hand-to-mouth life of a 19th-century miner in the Black Country shows the human cost of the industrial revolution