formation of oil and natural gas