CoPur: Certifiably Robust Collaborative Inference via Feature Purification