An ex-Syrian general and a former senior Syrian police officer have been accused of torturing opponents of the now-deposed regime of Bashar al-Assad.