Prediction of geomagnetic storms from solar wind data with the use of a neural network