Polymorphic germanium films forming in slit nanopore