lvm4net Latent Variable Models for Networks