The effects of pore structure on the behavior of water in lignite coal and activated carbon.