Structure and magnetism of cobalt at high pressure and low temperature