Influence of radiation defects on electrical losses in silicon diodes irradiated with electrons