Desorption of CO and O2 interstellar ice analogs