which mexican president signed the treaty of guadalupe hidalgo