Crystal structure, electrical resistivity, and X-ray photoelectron spectroscopy of BaAg{sub 2}As{sub 2}