High power single-cycle and tunable multi-cycle terahertz generation by phase-matched optical rectification