Police officer recovering after horseback riding accident