Linear and nonlinear dynamics in electrical precursory time series: implications for earthquake prediction