Thermo-Electrochemical Processes of the Earth ’ s Degassing Creating Geomagnetic Field and Changing Its Value and Direction ( Thermodynamic Approach )