Thermodynamic properties of solutions in metastable systems under negative or positive pressures