Homogenization of the wave equation in composites with imperfect interface : A memory effect