Flash nanoprecipation as a simple route to produce smart polymeric drug delivery devices