Highly Compact TiO2 Films by Spray Pyrolysis and Application in Perovskite Solar Cells