Measurement of the total cross section for 235U and 238U photofission in the δ-resonance region