Accumulation of fossil fuels and metallic minerals in active and ancient rift lakes