Optimization of terahertz monolithic integrated frequency multiplier based on trap-assisted physics model of THz Schottky barrier varactor