Growth defects and epitaxy in Fe3O4 and γ-Fe2O3 nanocrystals