Study identifies ways to make equestrian sport safer for horses and riders