Thermodynamic stability studies of the basic copper carbonate mineral, malachite