Emergence of Symbols in Neural Networks for Semantic Understanding and Communication