Spiking Neural Controller for Autonomous Robot Navigation in Dynamic Environments