Electronic structures and spectroscopic properties of the self-assembly complexes for dipyridone