Quantitative TEM imaging of the magnetostructural and phase transitions in FeRh thin film systems