What happened to Novgorod when Kievan Rus began to decline