U.S. court rules NSA can temporarily resume bulk phone data collection