Solving bound constrained optimization via a new nonmonotone spectral projected gradient method