Stochastic chemical reaction networks for robustly approximating arbitrary probability distributions