Classification of Tandem Mass Spectra for Identification of N- and O-linked Glycopeptides