Beam scattering by nonuniform leaky-wave structures