Sensorimotor control with thalamocortical-based spiking neural networks