Spin coated TiO2 nanoparticle as a matrix for perovskite solar cells