Adaptation to the risks of transformation processes in Russian society