Geometrical and electronic properties of dibenzoporphycenes