Secular Orbital Evolution, Proper Elements, and Proper Frequencies for Near-Earth Asteroids: A Comparison between Semianalytic Theory and Numerical Integrations