Long-lived luminescence of silicon nanocrystals: from principles to applications