Improving Spiking Neural Network With Frequency Adaptation for Image Classification