An efficient, differentiable hydration potential for peptides and proteins