Effect of Rank and Petrographic Composition on the Swelling Behavior of Coals