N.Y. Times endorses Clinton for U.S. president