Atmospheric ionization and cosmic rays: studies and measurements before 1912