A non-linear rainfall–runoff model using an artificial neural network