Enhanced stability and performance of inverted perovskite solar cell using titanium interlayer