Thermodynamic analysis of the effect of water activity on the stability of macadamia nut