Text this: Modeling the effects of phonon scattering in carbon nanotube and silicon nanowire field-effect transistors