Comoros president injured in knife attack