Energetic Galerkin BEM for 2D Wave Propagation Problems in Piecewise Homogeneous Media