Robot navigation and target capturing using nature-inspired approaches in a dynamic environment