how did the treaty of Guadalupe-Hidalgo affect westward expansion?