Synthesis and photostability of functional squarylium dyes