Classification and thermal history of petroleum based on light hydrocarbons