Artificial endocrine pancreas and optimal blood glucose regulation in diabetic patients--from bedside-type to wearable-type.