Effect of A-site cation radius on ordering of BX6 octahedra in (K,Na)MgF3 perovskite