treaty between Spain and the Kingdom of Portugal (1864)