How to deflect an asteroid hurtling toward Earth