Terahertz coherent detection via two-color laser pulses of various frequency ratios