Two factories sealed on emitting pollution