Synthesis and investigation of photophysical, NLO and thermal properties of D-π-A-π-D dyes