Engineering Nanoparticles for Pharmaceutical Applications: Formulation and Freeze-Drying Techniques