Ab-initio X-ray powder diffraction structural characterization of co-ordination compounds: Polymeric [{MX2(bipy)}n] complexes (M = Ni or Cu; X = Cl or Br; bipy = 4,4′-bipyridyl)