General Artificial neural networks predictive models. A case study: carbon and bromine concentrations prediction based on chlorination time