Dynamic model-based clustering for spatio-temporal data