Major oil-producing countries led by Saudi Arabia and Russia have agreed to stick to their oil output target.