Rajoy: Will defeat Catalan separatists