NASA to launch first spacecraft to take on asteroid