Oil extends losses after gloomier outlooks from OPEC, IEA