Electromagnetic energy absorbed within a Mie sphere