Simultaneous triangularization of a pair of matrices whose commutator has rank two