Localized orbital study on the electronic structure of phthalocyanine dimers