On stellar occultations by comets