Production Profiles of Nuclides by Galactic-Cosmic-Ray Particles in the Tops of Lunar Rocks