Measurement of melatonin and its metabolites