Temperature-induced phase transitions in proteins and lipids