A mechanistic investigation of anti-elimination in (Z)-1,2-bis(arylseleno)-1-alkenes and their sulfur analogs.