Change in the Resistivity of bcc and bct FeRh Alloys at First-Order Magnetic Phase Transitions