Germany, France want US to agree to curb spying