Metal–organic frameworks with rare topologies: lonsdaleite-type metal formates and their magnetic properties