Structural stability of halophilic proteins