Photoelectrochemical and first-principles investigation on halide perovskite/TiO2 film improved by dicyano dye