Bayesian grid matching for 2D gel registration