Endocrine system on chip for a diabetes treatment model