Red was also a badge of rank. Which number of ranks wore purple clothing in the Song dynasty