Optical properties of Ag+ impurities in KMgF3 crystals