Luminescent switching and structural transition through multiple external stimuli based on organic molecular polymorphs