Embarrassed by leaked conversations of three successive French presidents and angered by new evidence of uninhibited American spying, France demanded answers from the Obama administration and called for an intelligence “code of conduct” between allies.