Systematic Studies on Chain Lengths, Halide Species, and Well Thicknesses for Lead Halide Layered Perovskite Thin Films