How octopuses could have helped avert the Cuban missile crisis