Multi-layer neural network for precursor signal detection in electromagnetic wave observation applied to great earthquake prediction