Photofission cross sections of 232Th and 236U from threshold to 8 MeV