Identification of solar sources of major geomagnetic storms