Spanish premier hails US-Iran deal as end to 'senselessness,' says it marks new era in Middle East