Evolution of strain across the magnetostructural phase transition in epitaxial FeRh films on different substrates