Long-Term Evolution of Short-Period Comets