From Soul to Mind: The Emergence of Psychology, from Erasmus Darwin to William James