Mitigation of hazardous comets and asteroids