Preserving Accuracy and Privacy in Participatory Sensing Systems