The effect of coal rank on the wettability behavior of wet coal system with injection of carbon dioxide and flue gas