Spatiotemporal integration in the detection of coherent motion