Catalonia has declared independence from Spain, ahead of a vote in the Senate which will see Madrid seize the region’s autonomous powers.