Silicon nanocrystals in carbide matrix