Cognitive science and the twin-Earth problem