Synthesis, characterization and explosive detection of photoluminescent compounds with intramolecular charge-transfer characteristic