SPECTRAL WAVE ATTENUATION BY BOTTOM FRICTION: THEORY