First-Principles Study Of Hybrid Halide Perovskites And Beyond For Optoelectronic Applications