Mechanical properties and bonding feature of the YAg, CeAg, HoCu, LaAg, LaZn, and LaMg rare-earth intermetallic compounds: An ab initio study