Direct patterning of sol–gel metal oxide semiconductor and dielectric films via selective surface wetting