Development of a detailed model of petroleum formation, destruction, and expulsion from lacustrine and marine source rocks