Estimating Spatial Interaction Models using Panel Data: a Generalized Maximum Entropy Formulation