First-principles calculations of the electronic and magnetic properties of Cs 2 Ag F 4