Gravar-mail: Inferring gene regulatory networks by thermodynamic modeling