Computer thermodynamic analysis of processes of directed transformation of minerals