Risk sharing and industrial specialization in China