Implementation of the dual foliation generalized harmonic gauge formulation with application to spherical black hole excision