A Synapse-Threshold Synergistic Learning Approach for Spiking Neural Networks