Seizure Detection and Prediction by Parallel Memristive Convolutional Neural Networks