Stress in ecological systems