Illumination of the accretion disk in black hole binaries: An extended jet as the primary source of hard X-rays