Dollar rises as U.S. data shows inflation running hot