Thermodynamics of the Ca-Mg-Fe-Al-Si-O Pyroxenes: I. Theoretical model and assessment of the Ca-Mg-Si-O system