Near-resonance excitation of dielectric spheres with plane waves and off-axis Gaussian beams.