Structural studies of intermolecular interactions in pure and diluted films of a redox-active phthalocyanine