Torrential rain triggered severe flooding in eastern Spain, sweeping away cars, submerging roads and leaving at least four people dead.