On the existence of transmission eigenvalues in an inhomogeneous medium