what contributed to the end of the cuban missile crisis?