New hybrid algorithm based on nonmonotone spectral gradient and simultaneous perturbation