Encapsulated mesenchymal stem cells for in vivo immunomodulation