Recent advances in photonic dosimeters for medical radiation therapy