Mechanisms of membrane response to environmental stress