A new experimental method to analyze the dewetting properties of polymer surfaces and cationic surfactants