Response of the midlatitude ionosphere to extreme geomagnetic storms of the 23rd solar cycle