Theoretical modeling of the electronic structure and exchange interactions in a Cu(II)Pc one-dimensional chain