Universal tree structures in directed polymers and models of evolving populations.