From a dense to a sponge-like structure at high pressures: unravelling the counter-intuitive behaviour of zinc cyanide