Nanoparticles for dewetting suppression of thin polymer films used in chemical sensors