Relation between reactivity and structure for coals and chars