Mode conversion and tunneling in an inhomogeneous plasma