who was the individual who affected jung's works greatly but whom he also had a rift with when jung began to formulate his own ideas and theories?