Anomalous pressure evolution of the axial ratio c∕a in hcp cobalt: Interplay between structure, magnetism, and lattice dynamics