Gravar-mail: Inferring regulatory mechanisms from patterns of evolutionary divergence