Functionalized porphyrin as a carrier bridge and a passivator for perovskite solar cells