Characterization of metamorphic fluid composition through mineral equilibria