Classification of high-dimensional data with spiked covariance matrix structure