Spanish Senate adopts EU treaty