Variations in the pore structure of oil shales during retorting and combustion