Spatiotemporal Pattern Detection with Neuromorphic Circuits