SNN2ANN: A Fast and Memory-Efficient Training Framework for Spiking Neural Networks