Structure-guided synthesis of tamoxifen analogs with improved selectivity for the orphan ERRgamma.