A comparison of calculated and measured absorbed doses of electron beams