Air pollution detector