Solar cosmic ray events for the period 1561–1994: 1. Identification in polar ice, 1561–1950