On the usage of derivatives in diagonal global optimization methods