The songs produced by birds share similarities with the structure of human language, a study shows.