Electromagnetic instrument tracking in computer-assisted interventions