US inflation eases to 3.4% in July