What functional groups are found in the structure of melatonin?