Self-assembled π-stacks of functional dyes in solution: structural and thermodynamic features | Synapse