L- and M-shell x-ray production cross sections of Nd, Gd, Ho, Yb, Au, and Pb by 25-MeV carbon and 32-MeV oxygen ions: Searching Inside