Confined electrons and holes in Si nanocrystals: Theoretical modeling of the energy spectrum and radiative transitions