US inflation eases to 3.5% in June as energy prices fall sharply