Porphyrins in bio-inspired transformations: Light-harvesting to solar cell