High-quality all-inorganic CsPbI2Br thin films derived from phase-pure intermediate for efficient wide-bandgap perovskite solar cells