High-power optical millimeter-wave signal generation with tunable frequency multiplication factor