Lie algebras of infinitesimal CR automorphisms of weighted homogeneous and homogeneous CR-generic submanifolds of CN