Chemical Trends of Electronic Properties of Two-Dimensional Halide Perovskites and Their Potential Applications for Electronics and Optoelectronics