What caused a shift from primarily using introspection to empirical methods in psychological research?