Applications of dewetting in micro and nanotechnology