Polyelectrolyte stabilized drug nanoparticles via flash nanoprecipitation: a model study with $\beta$-carotene