Finite Difference Methods for Wave Equations with Discontinuous Coefficients