Inverted perovskite solar cells with enhanced lifetime and thermal stability enabled by a metallic tantalum disulfide buffer layer