Quantitative approximation of the Keller-Segel and Burgers equations by moderately interacting particles