Symmetry breaking in cationic and anionic polymethine dyes