Decomposable Submodular Function Minimization: Discrete and Continuous