Spain is switching to 100 percent renewable electricity by 2050