Oil prices extend losses on profit taking and a stronger US dollar