Structural properties of TmFeO3 in the spontaneous reorientation region