Increased plasma etch resistance of thin polymeric and photoresist films