Perovskite schottky type solar cell