Altered neonatal melatonin and thyroid hormone status on the functional features of adult testis and ovary in the rat