First and second order numerical differentiation with Tikhonov regularization