Investigation of the planar and inverted structure of $${\text{Cu}}_{2}{\text{O/CH}}_{3}{\text{NH}}_{3}{\text{PbI}}_{3}/{\text{PCBM}}$$ perovskite solar cell with and without the CH3NH3SnI3 layer