The Age Dependence of the Detectability of Comets Orbiting Solar-Type Stars