Humanoid Robot Control Using Spiking Neural Networks