Cairo court convicts toppled president of ordering the arrest and torture of protesters in 2012 clashes.