Porous Halide Perovskite–Polymer Nanocomposites for Explosive Detection with a High Sensitivity