The Dual Randomized Kaczmarz Algorithm