Sublimation rates of carbon monoxide and carbon dioxide from comets at large heliocentric distances