Integration of oxide-metal and nitride-metal vertically aligned nanocomposites on silicon toward device applications