Predicting invasions of nonindigenous plants and plant pests