Tumor purity and differential methylation in cancer epigenomics