Men's risk of prostate cancer may be linked with their melatonin levels, a new study suggests.