Gravar-mail: Estimating probabilistic context-free grammars for proteins using contact map constraints