Farmers' adaptation to extreme weather events through farm management and its impacts on the mean and risk of rice yield in China