How did the end of the Civil War affect the cattle industry?