The UAE has withdrawn from Opec and Opec+ after disputes over production quotas, with the decision taking effect on Friday.