Assemblies of phthalocyanines with porphyrins and porphyrazines: ground and excited state optical properties