What was a common feature in the societal structures of the Russian and Qing empires during their peak times?