Low-Dimensional Halide Perovskites and Their Advanced Optoelectronic Applications