Genetic determinants of chromatin reveal prostate cancer risk mediated by context-dependent gene regulation