Comet showers as a cause of mass extinctions