Crystal structure, chemical bonding, and physical properties of layered AIrSn2 (A = Sr and Ba)