Combating Quality Distortion in Federated Learning with Collaborative Data Selection