Electrical and optical characterization of colloidal silicon nanocrystals