Correlating structure and electronic band-edge properties in organolead halide perovskites nanoparticles.