Describir: Probabilistic foundations of statistical network analysis