Upper limits on the O2/CO ratio in two dense interstellar clouds