How Ham the Astrochimp paved the way for human spaceflight