Small-angle compton scattering on hydrogen and deuterium