The origins of psychiatry and psychoanalysis