18 factories told to shut shop for flouting green norm