Red was also a badge of rank. What ranks in the Song dynasty wore blue