Stability of hydrous minerals on the martian surface