Engineering the mesoporous TiO2 layer by a facile method to improve the performance of perovskite solar cells