Effects of stress on the gonadal function