Spanish–Portuguese treaty