Gravar-mail: Assessing protein loop flexibility by hierarchical Monte Carlo sampling