Due in large part to the persuasion of representative Servando Teresa de Mier, Mexico City was chosen because it was the center of the country's population and history, even though Querétaro was closer to the center geographically. Where was the government of Mexico City moved to at the time it was declared capital of Mexico?