Structural Aspects of Porphyrins for Functional Materials Applications