Photoinduced changes in structure and function of hexadecyl merocyanine dyes incorporated into lipid membranes