Stability of lipid bilayers and red blood cell membranes