Generation of 0.5 mJ, few-cycle laser pulses by an adaptive phase modulator.