Electromagnetic localization of dielectric targets in a 3D geometry by means of a neural network approach