Biogenesis of secretory granules