Marcelin Berthelot (1827–1907), Chemist