Cosmic‐ray‐induced radioactivity in terrestrial materials