Highly compact TiO2 layer for efficient hole-blocking in perovskite solar cells