D- and L-β-Hydroxybutyrate Dehydrogenases and the Evolution of Ketone Body Metabolism in Gastropod Molluscs.