Reconstructive Phase Transition Enabled Second Harmonic Generation and Switchable Photoluminescence of a Hybrid Metal Halide for Temperature Sensing and Anticounterfeiting | Synapse