Compton scattering beyond the impulse approximation: Application to the core electrons of carbon.