Got a looming work deadline or exam? Here’s why that kind of stress is actually really good for you, according to a new study