Stable charged-particle acceleration and focusing in a laser accelerator using spatial harmonics.