Oil prices extend gains as weaker dollar, tight supplies support