Water-equivalent one-dimensional scintillating fiber-optic dosimeter for measuring therapeutic photon beam.