NSPDI-SNN: An efficient lightweight SNN based on nonlinear synaptic pruning and dendritic integration