DNBP: Differentiable Nonparametric Belief Propagation