Electrical resistivity and the magnetic phase transitions of CrMn alloys