A common origin for cosmic explosions inferred from calorimetry of GRB030329