Stimulated Stokes and anti-Stokes electronic Raman scattering by selectively excited potassium and rubidium atoms