Modeling the sequence-dependent energetics of protein-mediated DNA loops