Catalans declare independence, Spain enacts direct rule