The Accuracy of the Born and Ray Approximations in Time-Distance Helioseismology