Mapping the nuclear microenvironment of genes at a genome-wide scale