Quasilinear Theory of the Ion Cyclotron Instability and Its Application to the Cometary Plasma