Pan-cancer DNA methylation signature quantification of lifestyle exposures and cancer prognosis