Refining of hydrocarbon oils in the absence of hydrogen, by oxidation with oxygen or compounds generating oxygen