Origin of volatile element depletion among carbonaceous chondrites