Automatic classification and onset estimation of seismic P and S wave signals recorded at local seismic network using artificial neural networks