Energetics of RecA-mediated recombination reactions