Binary black holes in circular orbits. I. A global spacetime approach