On the classification of automorphic products and generalized Kac–Moody algebras