Flexible perovskite photovoltaic modules and solar cells based on atomic layer deposited compact layers and UV-irradiated TiO<inf>2</inf> scaffolds on plastic substrates