Collective optical excitations in porphyrin assemblies