Energy-Efficient Neuromorphic Computing With Cmos-Integrated Memristive Crossbars