Malaysia has declared an emergency in a town in Sarawak state due to severe air pollution linked to fires in Indonesia.