Spain will receive up to 4,000 Afghans at two military bases, source says