Theory of free-electron optical absorption in n-GaAs