Synthesis and degradation of ketone bodies