Size-dependent photocurrent of photodetectors with silicon nanocrystals