Distributed Differential Privacy and Applications