A Semiconducting Organic–Inorganic Hybrid Metal Halide with Switchable Dielectric and High Phase Transition Temperature