Gravar-mail: A two-length-scale polymer theory for RNA loop free energies and helix stacking