Gonadal function and its influence on psychopathology