What factors contributed to the decline of buffalo populations in North America?