Synthesis, optical, electrochemical, and thermal stability properties of poly(azomethine-urethane)s