The excited states of covalently linked dimeric porphyrins