Markets extend gains as US inflation data boost rate hopes