Oil prices extend gains as worries over fuel demand recede