Temporal compression of laser pulses by coherent control