Transfer Learning for Latent Variable Network Models