Valence and conduction bands engineering in halide perovskites for solar\n cell applica- tions