Dual sources of melatonin and evidence for different primary functions