Invasion drives plant diversity loss through competition and ecosystem modification