Cavity theory applications for kilovoltage cellular dosimetry