Efficient finite-difference method for computing sensitivities of biochemical reactions