Forecasting volcanic eruptions from seismic data