Birds can extract detailed information from antipredator calls made by other bird species they encounter during their migrations, scientists say.