Cosmic-ray experiments