Solving Interface Problems of the Helmholtz Equation by Immersed Finite Element Methods