Chicago Cubs, 1876-1900