Scattering of intermediate-energy electrons by potassium