The pore structure and gating mechanism of K2P channels