N.Y. Times Reporter Must Testify on Source, Court Says