Band structure engineering in metal halide perovskite nanostructures for optoelectronic applications