Principles of Beat-Wave Accelerators