The design, synthesis, and characterization of polymethine dyes for all-optical signal processing applications