Automated morphological analysis of spikes and sharp waves in human electrocorticograms.