Formation and composition of titanium oxinitride nanocrystals synthesized via nitridizing titanium oxide for nonvolatile memory applications