A molecular dynamics study of nanoscale titanium nitrides formation in ferrite