A novel coupled physics-based electromagnetic model of semiconductor traveling-wave structures for RF and optoelectronic applications