An Italian court has sentenced Parmalat founder Calisto Tanzi to 18 years in prison for his role in the 2003 collapse of the dairy firm.