The chief of staff for the president of Madagascar—who was sacked after her arrest—has been convicted of bribery offences in London.