Effects of water on the structure and low/high temperature stability of confined proteins.