Oxygen-induced reactions at 60A GeV and 200A GeV studied by calorimetry