Selection and assessment of bivariate Markov random field models