Grupo Mexico unit agrees to buy Planigrupo Latam