Speeding up tandem mass spectrometry based database searching by peptide and spectrum indexing.