Italian president testifies on alleged links between the state and the Mafia