Density Sketches for Sampling and Estimation