STDP-Based Classificational Spiking Neural Networks Combining Rate and Temporal Coding