Molecular thin films and nanostructures for the formation of oxides