Time dilation and escape velocity