Future directions of in vivo dosimetry for external beam radiotherapy and brachytherapy