Investigation of the Electrical Characteristics of Triple-Gate FinFETs and Silicon-Nanowire FETs