Relays having a pair of normally open contacts rigidly fixed to a magnetic core movable along the axis of a solenoid