Towards an automatic early warning system of flood hazards based on precipitation forecast: the case of the Miño River (NW Spain)