Hexahedral and Quadrilateral Spectral Elements for Acoustic Waves