Two former South Yorkshire Police officers have been arrested over allegations they carried out sexual assaults while on duty in the 1990s.