US consumer inflation eases sharply to 3% in June