NSA phone surveillance not authorized: U.S. appeals court