Rod-shaped cyanoacrylic derivatives with D-$π$-A architecture: synthesis, thermal, photophysical and theoretical studies