Nano spray drying for encapsulation of pharmaceuticals