Transition metal catalysis in the generation of petroleum and natural gas