Algebraic Markov bases and MCMC for two-way contingency tables