Photoactivated transition metal dichalcogenides to boost electron extraction for all-inorganic tri-brominated planar perovskite solar cells