Chromian spinels as petrogenetic indicators : thermodynamics and petrological applications