Punjab province in Pakistan has declared a health emergency and closed two cities due to severe smog affecting nearly 2 million people.