Spanish parliament approves direct rule over Catalonia