Former IAAF President Lamine Diack has been sentenced to prison and fined €500,000 after being found guilty of corruption.