Cognitively-demanding physical activity enhances resilience to anxiety and females are more resilient in some environments