In-situ production of lactate driving the biotransformation of waste activated sludge to medium-chain fatty acid.