The theory of mode conversion and wave damping near the ion cyclotron frequency