Qualitative properties and classification of nonnegative solutions to −Δu=f(u) in unbounded domains when f(0)<0