Study highlights beneficial impact of two types of sport