SCATTERING-MATRIX ANALYSIS OF 1D, 2D, AND 3D ARRAYS OF ACOUSTIC MONOPOLES AND ELECTROMAGNETIC DIPOLES