Finite mixtures of matrix normal distributions for classifying three-way data