Formation of cobalt/garnet heterostructures and their magnetic properties