Decomposable Probabilistic Models for Networks in Biology