Classification of asteroid spectra using a neural network