Functionalism, Psychology, and the Philosophy of Mind