Shares rise, dollar slips ahead of U.S. inflation data