Preparation and physicochemical characterization of trans-resveratrol nanoparticles by temperature-controlled antisolvent precipitation