A persistent homology-based topological loss function for multi-class CNN segmentation of cardiac MRI