Nanocrystalline gradient films through chemical vapor synthesis