Double centralizers of unipotent elements in simple algebraic groups of type G2, F4 and E6