On the simultaneous approximation of derivatives by Lagrange and Hermite interpolation