Shear Alfvén and acoustic continuum in general axisymmetric toroidal geometry