Solvent effects on composition and structure of thiolipid molecular anchors for tethering phospholipid bilayers