Mechanisms of enhancer-promoter communication and chromosomal architecture in mammals and Drosophila