Cometary and meteorite swarm impact on planetary surfaces