Interband, intraband, and excited-state direct photon absorption of silicon and germanium nanocrystals embedded in a wide band-gap lattice