On the design of an intelligent sensor network for flash flood monitoring, diagnosis and management in urban areas