Membrane separations as sample preparation techniques