Self-imaging and high-beam-quality operation in multi-mode planar waveguide optical amplifiers.