why is pancreas considered as a heterocrine gland