Research suggests that cold-water immersion can lift your mood and sharpen focus—just be smart about how long you stay in.