Multiparametric analysis for forecasting volcanic and seismic phenomena