Modeling Metamorphic Rocks Using Equilibrium Thermodynamics and Internally Consistent Databases: Past Achievements, Problems and Perspectives