Organic functional group transformations in experimental hydrothermal systems