High-throughput localization of functional elements by quantitative chromatin profiling