An Envelope Detector Based on Memristive Systems