psychology became a science in 1879 when psychologists began to