Stability in determination of states for the mean field game equations