Simulation of nitrate contamination in groundwater using artificial neural networks