Joint Input and Output Coordination for Class-Incremental Learning