Analog monolayer SWCNTs-based memristive 2D structure for energy-efficient deep learning in spiking neural networks