A comprehensive study of single-electron effects in multiple-gate MOSFETs