Function of the pineal gland in the brain