Oil prices rise as producers commit to output restraint