Text this: Prediction of critical air quality events using support vector machines and particle swarm optimization