Rationally designed molecular D–A–D triad for piezochromic and acidochromic fluorescence on–off switching