Microfabrication and microfluidic devices for drug delivery