Catalan prime minister sacked after secret talks with Eta