Why were the bolsheviks able to ride the russian revolution to power?