Enhanced electromagnetic catheter tracking with application in high-dose-rate brachytherapy