A class of interface problems for the Helmholtz equation in Rn