Rajoy says he will sack Catalan government, call regional elections