Identifying latent groups in spatial panel data using a Markov random field constrained product partition model