A numerical approach to electromagnetic dosimetry for the human body