Studies on physical properties and structure of silk. Glass transition and crystallization of silk fibroin