The completion of d-abelian categories