Electrophysiological spike detection for large dense electrode arrays