Engineered reversal of the β-oxidation cycle for the synthesis of fuels and chemicals