General theory on electromagnetic scattering of an off-axis Hermite-Gaussian beam by a rotationally uniaxial anisotropic spheroid