Early warning signals of demographic regime shifts in invading populations