A review of computer techniques for dosimetry of interstitial and intracavitary radiotherapy