Perovskite CH3NH3Pb(BrxI1−x)3 single crystals with controlled composition for fine-tuned bandgap towards optimized optoelectronic applications