How Moscow’s turbulent past shapes Putin’s vision for Russia