Laboratory analysis of porphyrins