Several thousand people have marched in Spain’s capital, Madrid, to demand that the government immediately honours its pledge to take in more than 17,000 refugees as part of a European relocation plan.