Gold rises after U.S. inflation, retail sales data