Balanced softmax cross-entropy for incremental learning with and without memory