Preparation and characterization of silk fibroin as a biomaterial with potential for drug delivery