In situ wetting state transition on micro- and nanostructured surfaces at high temperature.