A quasi-analytical model for nanowire FETs with arbitrary polygonal cross section