Calculations of the absorbed dose in a phantom from photon fluence and some applications to radiological protection