Generalized cell-dual-cell transformation and exact thresholds for percolation.