Weak-beam study of glide dislocations in h.c.p. cobalt