Optical gain in silicon nanocrystals