First-principle study on the electronic structure and ferromagnetic properties of a three-dimensional coordination polymer: Cu(HCO2)2L (L=4,4′-bipyridine)