Optical second-harmonic spectra of Si(001) with H and Ge adatoms: First-principles theory and experiment