Synthesis of rotenonoids and azarotenonoids