A method of carrier-envelope phase control for few-cycle laser pulses