Synthesis of 1,2-Dioxetanes as Thermochemiluminescent Labels for Ultrasensitive Bioassays: Rational Prediction of Olefin Photooxygenation Outcome by Using a Chemometric Approach.