Theory of drift mirror instability