Existence and asymptotic behavior of nontrivial solutions to the Swift–Hohenberg equation