Ecuador's former president found guilty of corruption