Eikonal approximation in x-ray transition radiation theory