Assessment of defects and amorphous structure produced in raffinose pentahydrate upon dehydration.