U.S. and India agree to working group on counter-terrorism