Generalized valence bond description of bonding in low-lying states of molecules