"Use of an automated alternated cycles process for the upgrading of large wastewater treatment plants: the experience of Viareggio-Italy"