Generalized Savage-Dickey Density Ratio