Air pollution forces Chinese slowdown as cities close factories and ban flights