North Macedonia has imposed emergency measures in its capital Skopje and three other cities to tackle soaring levels of smog.