Coal rank variations with depth related to major thrust detachments in the South Wales coalfield: implications for fluid flow and mineralization