Fully integrated vertical nanocontact photomixer for continuous-wave terahertz generation