Energy degradation of electrons in krypton