Tunable terahertz-wave parametric oscillators using LiNbO3 and MgO:LiNbO3 crystals