The relative strength of perovskite and post-perovskite NaCoF3