European space agency signs deal for asteroid defence mission