DULA: A Differentiable Ergonomics Model for Postural Optimization in Physical HRI