CoF2: a model system for magnetoelastic coupling and elastic softening mechanisms associated with paramagnetic ↔ antiferromagnetic phase transitions